package ch14.domain;
public class User {
    // 用户编号
    private String userid;
    // 用户姓名
    private String name;
    // 英文名
    private String ename;
    // 身份证号
    private String personId;
    // 信用分
    private int credit;
    // 城市
    private String city;
    // 性别
    private String sex;

    public String getUserid() {
        return userid;
    }

    public void setUserid(String userid) {
        this.userid = userid;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getEname() {
        return ename;
    }

    public void setEname(String ename) {
        this.ename = ename;
    }

    public String getPersonId() {
        return personId;
    }

    public void setPersonId(String personId) {
        this.personId = personId;
    }

    public int getCredit() {
        return credit;
    }

    public void setCredit(int credit) {
        this.credit = credit;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    @Override
    public String toString() {
        return "User{" +
                "userid='" + userid + '\'' +
                ", name='" + name + '\'' +
                ", ename='" + ename + '\'' +
                ", personId='" + personId + '\'' +
                ", credit=" + credit +
                ", city='" + city + '\'' +
                ", sex='" + sex + '\'' +
                '}';
    }
}
